// 表单返回
import {store} from '@/store/index'


export default class formBack{
    title:string =  '退出表单'
    icon:string = 'icon-arrow-double-left'
    pag:string = 'formBack'
    commitPath: string = ''
    
    fn = () =>{
        store.commit(this.commitPath)
    }

    public constructor(path:string){
        this.commitPath = path;
    }
    
    
}